<div class="row-fluid">
    <div class="grid simple">
        <div class="span9 grid-body no-border">
            <div id="category_1" class="accordion">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a href="#collapse_1" data-parent="#category_1" data-toggle="collapse" class="accordion-toggle collapsed"><?php echo Page::model()->findByPk($mainModel['pageParent'])->pageTitle . ' ' . $mainModel['pageTitle']; ?> <i class="icon-plus"></i> </a>
                    </div>
                    <div class="accordion-body" id="collapse_1" style="height: 0px;">
                        <div class="accordion-inner">
                            <!--<h4>Выберите нужные услуги</h4>-->
                            <hr>
                            <?php foreach ($models as $model): ?>
                                <div class="row-fluid">
                                    <div class="span12">
                                        <?php echo Page::model()->findByPk($model['pageParent'])->pageTitle . ' ' . $model['pageTitle']; ?>                                       
                                    </div>
                                </div>  
                            <?php endforeach; ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>